<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>登陆</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
  	<form name="login" action="test/login4.do" method="post">
  		<input type="text" name="userName" />
  		<input type="password" name="userPass" />
  		<input type="submit" value="登陆" />
  	</form>
  	
<h1>所有的演示例子</h1>
<h3><a href="./dao.do?id=1">Dao正常错误</a></h3>
<h3><a href="./dao.do?id=10">Dao参数错误</a></h3>
<h3><a href="./dao.do?id=">Dao未知错误</a></h3>
<br />
<h3><a href="./service.do?id=1">Service正常错误</a></h3>
<h3><a href="./service.do?id=10">Service参数错误</a></h3>
<h3><a href="./service.do?id=">Service未知错误</a></h3>
<br />
<h3><a href="./controller.do?id=1">Controller正常错误</a></h3>
<h3><a href="./controller.do?id=10">Controller参数错误</a></h3>
<h3><a href="./controller.do?id=">Controller未知错误</a></h3>
<br />
<h3><a href="./404.do?id=1">404错误</a></h3>
  </body>
</html>
